[IA64] Modify xc_ia64_hvm_build for using the new Xen event channels
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 23 Aug 2006 19:21:02 +0000 (13:21 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 23 Aug 2006 19:21:02 +0000 (13:21 -0600)
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
tools/libxc/ia64/xc_ia64_hvm_build.c

index ededfe6e5d5c499970e7f650bd0d4d49231106ed..ce90475007b6a69e55465c8b85c0ee227788dfd6 100644 (file)
@@ -553,7 +553,6 @@ setup_guest(int xc_handle, uint32_t dom, unsigned long memsize,
 {
     unsigned long page_array[2];
     shared_iopage_t *sp;
-    int i;
     unsigned long dom_memsize = (memsize << 20);
     DECLARE_DOM0_OP;
 
@@ -605,18 +604,6 @@ setup_guest(int xc_handle, uint32_t dom, unsigned long memsize,
         goto error_out;
 
     memset(sp, 0, PAGE_SIZE);
-
-    for (i = 0; i < vcpus; i++) {
-        uint32_t vp_eport;
-
-        vp_eport = xc_evtchn_alloc_unbound(xc_handle, dom, 0);
-        if (vp_eport < 0) {
-            DPRINTF("Couldn't get unbound port from VMX guest.\n");
-            goto error_out;
-        }
-        sp->vcpu_iodata[i].vp_eport = vp_eport;
-    }
-
     munmap(sp, PAGE_SIZE);
 
     return 0;